<div class="main-banner">
            	
                <div class="right" id="container">
                	<div id="example">
                        <div id="slides">
                            <div class="slides_container"> 
                             <?php
							if(count($slideshows))
							{
								foreach($slideshows as $item)
								{
							?>
                                <a href="#"><img src="<?php echo $this->config->item('link-assets').$this->config->item('upload_folder_banner').$item['image']; ?>" width="665" height="166" alt="" /></a>
							<?php
                                }
                            }
                            ?>     
                            </div>
                            <div class="bg-left"></div>
                            <div class="bg-right"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div id="main-container">
            <div class="main-content">
            	<h1>Nieuws</h1>
                <ul class="news-list">
                <?php
							if(count($news))
							{
								$i=1;
								foreach($news as $item)
								{
									$end=($i%2==0)?"class='end'":"";
				?>
                	<li <?php echo $end; ?>>
                    	<div class="img-news"><a href="<?php echo site_url("news/".$item['title_alias']); ?>"><img src="<?php echo $this->config->item('link-assets').$this->config->item('upload_folder_article').$item['image']; ?>" width="166" height="110" alt="" /></a></div>
                        <div class="content">
                        	<h2><a href="<?php echo site_url("news/".$item['title_alias']); ?>"><?php echo $item['title']; ?></a></h2>
                            <p><?php echo $item['intro']; ?></p>
                        </div>
                    </li>
				<?php
									$i++;
                                }
                            }
                ?> 
                </ul>
                
                <div class="pagging">
                    <?php echo $paging; ?>                    	
                </div>
                
            </div>            
        </div>
        
        <div id="block-social">
        	<p>Rembrandtweg 257, 2981 CZ Ridderkerk</p>
            <ul>
            	<img src="<?php echo base_url(); ?>assets/images/icon-facebook-01.png" width="20" height="20" alt="" />
                <a href="http://www.facebook.com/lerenzonderschool">Facebook</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-twitter-01.png" width="20" height="20" alt="" /><a href="http://www.twitter.com/bma_academy">Twitter</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-linkedin.png" width="20" height="20" alt="" /><a href="http://www.linkedin.com/company/2536883?trk=tyah">Linkedin</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-email.png" width="20" height="20" alt="" /><a href="mailto:info@bma-academy.nl">info@bma-academy.nl</a></li>
                <img src="<?php echo base_url(); ?>assets/images/icon-phone.png" width="20" height="20" alt="" /><a href="#">0180-420199</a></li>
            </ul>
        </div>
<script>
jQuery(document).ready(function(){
	jQuery("#mnews").addClass('active');
});
</script>